home *** CD-ROM | disk | FTP | other *** search
- ; Example of a nearly impossible problem.
- ; The true solution is: x1=1/3 x2=0 x3=1e-12
- ; but there are many "solutions" with small residuals.
-
- x1^2 + 2*x2 - exp(x2) + x3 = 1e-12 - 8/9
- x1*x2 + exp(-x2) + x1*x3 = 1 + 1e-12/3
- x1^3 + cos(x2) - x3 = 1/27 - 1e-12 + 1
-
- x1 := .5
- x2 := 0
- x3 := 0